[releases/28.x] [Shopify] Skip empty inventory API call when batch size is exact multiple of 250#7215
Conversation
…iple of 250 Guard the final ExecuteInventoryGraphQL call with an InputSize > 0 check to avoid sending an unnecessary empty request when the number of items is an exact multiple of the 250-item batch size. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Pull request was closed
darjoo
left a comment
There was a problem hiding this comment.
Tests not needed in the backport?
not needed since that test case was added only in main as part of a new feature |
|
|
darjoo
left a comment
There was a problem hiding this comment.
Auto-approved: version-tagged backport.
Summary
ExecuteInventoryGraphQLcall inExportStockwithif InputSize > 0to avoid sending an unnecessary empty request when the number of inventory items is an exact multiple of the 250-item batch sizeFixes AB#625962
🤖 Generated with Claude Code